package com.gxa.p2p.mapper;

import com.gxa.p2p.pojo.Version;

import java.util.List;
import java.util.Map;

public interface VersionMapper {
    /**
     * 查询全部版本
     */
    List<Version> selectAll(Boolean vstate,String vnum,Integer page,Integer size);
    void add(Version version);
    void update(Long vid,Boolean vstate);
    Version selectById(Long vid);
    void deleteById(Long vid);
    List<Version> selectAllData();

}
